var rename = require('gulp-rename');
var gulp = require('gulp');

// rename via function
gulp.src('./*.png')
  .pipe(rename(function (path) {
    path.basename = path.basename.replace('蓝', 'blue');
  }))
  .pipe(gulp.dest('./dist')); // ./dist/main/text/ciao/hello-goodbye.md
